package com.lg.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "torn-provider", path = "/index")
public interface ConsumerFeignService {

    @GetMapping(value = "/echo/{string}")
    String echo(@PathVariable String string);



}

